package com.yh.spring.mybatis.model;

public class Product {
   private Integer id;//商品ID
   private String ordername;//商品名称
   private String description;//商品描述
   private Double price;//商品价格
   private Integer stock;//商品库存
public Integer getId() {
	return id;
}
public void setId(Integer id) {
	this.id = id;
}
public String getOrdername() {
	return ordername;
}
public void setOrdername(String ordername) {
	this.ordername = ordername;
}
public String getDescription() {
	return description;
}
public void setDescription(String description) {
	this.description = description;
}
public Double getPrice() {
	return price;
}
public void setPrice(Double price) {
	this.price = price;
}
public Integer getStock() {
	return stock;
}
public void setStock(Integer stock) {
	this.stock = stock;
}
  
}
